#!/bin/bash

set -e
cd /home/cbj/destor

mv Makefile.am Makefile.am.bak
cp /home/cbj/destor-test/Makefile.am Makefile.am

make clean
make

cp /home/cbj/destor/destor /home/cbj/destor-test/destor-cbj-test-special
mv Makefile.am.bak Makefile.am

rm -f /home/cbj/destor-test/core
